﻿using AutoMapper;
using PowerHub.MES.DTO.BasicData.DTO;
using PowerHub.MES.DTO.Shopfloor.DTO;
using PowerHub.MES.Entities.BasicData;
using PowerHub.MES.Entities.Shopfloor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PowerHub.MES.DTO.Shopfloor
{
    // 映射配置
    public class ShopfloorMappingProfile : Profile
    {
        public ShopfloorMappingProfile()
        {
            //基地
            CreateMap<Shopfloor_FoundationDTO, Shopfloor_Foundation>();
            //车间
            CreateMap<Shopfloor_WorkshopinfoDTO, Shopfloor_Workshopinfo>();

            //产线
            CreateMap<Shopfloor_ProductionLineDTO, Shopfloor_ProductionLine>();
            //工作站
            CreateMap<Shopfloor_WorkStationDTO, Shopfloor_WorkStation>();



        }
    }
}
